<div class="clear"></div>
<div class="tabnav">
<ul>

<li {if $ac=='index'}class="select"{/if}><a href="{tsUrl('photo')}">最新专辑</a></li>

{if $ac=='album' && $ts=='user'}
<li class="select"><a href="{tsUrl('photo','album',array(ts=>user,userid=>$userid))}">{$title}</a></li>
{/if}

{if $ts!='user' && intval($TS_USER[user][userid]) > '0'}
<li><a href="{tsUrl('photo','album',array(ts=>user,userid=>$TS_USER[user][userid]))}">我的专辑</a></li>
{/if}

<li {if $ac=='create'}class="select"{/if}><a href="{tsUrl('photo','create')}">+创建新专辑</a></li>
</ul>
</div>
<div class="clear"></div>